package com.itxh.mybatis.model;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@AllArgsConstructor
@Data
public class StaticSqlSource implements SqlSource{
    private String sql;
    private List<ParameterMapping> parameterMappings;
    @Override
    public BoundSql getBoundSql(Object param) {
        return new BoundSql(sql,parameterMappings);
    }
}
